/**
 * Reinit error visibility
 */
function reinitErrorVisibility() {
	// Error messages reinit
	$("#errorMailRegex").hide();
	$("#errorList").hide();
	unHighlightFields();
}

/*
 * Registration submit
 */
$(function() {
	$("#user_datas input[type=submit]").click(function(e) {
		reinitErrorVisibility();
		return checkForm();
	});
});